package com.lu.common;

import org.apache.shiro.crypto.hash.Md5Hash;

public class PasswordUtil {

	public static String encrypt(String password) {
		return new Md5Hash(password).toBase64();
	}
	
	public static void main(String[] args) {
		System.out.println(encrypt("111111"));
	}

}
